package com.situ.mall.service;

import com.situ.mall.mapper.ShippingMapper;
import com.situ.mall.pojo.Area;
import com.situ.mall.pojo.City;
import com.situ.mall.pojo.Province;
import com.situ.mall.pojo.Shipping;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

public interface IShippingService {

    List<Province> selectProvince();

    List<Shipping> list(Integer userId);

    List<City> selectCity(Integer provinceId);

    List<Area> selectArea(Integer cityId);

    void add(Shipping shipping);

    void delete(Integer id);
}
